package com.b2c.properties;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
@NacosConfigurationProperties(prefix = "send-email.thread-pool",dataId = "thread-pool",type = ConfigType.YAML,autoRefreshed = true)
public class ThreadPoolProperties {
    private Integer threadSize;

}
